﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MegavaniaX.Messaging.Events
{
    /// <summary>
    /// Event relating to animation.
    /// </summary>
    public struct AnimationEvent : IMegavaniaEvent
    {
        private MegavaniaEventType _eventType;
        private string[] _listenerNames;

        public MegavaniaEventType EventType { get { return _eventType; } private set { _eventType = value; } }
        public string[] ListenerNames { get { return _listenerNames; } private set { _listenerNames = value; } }

        public AnimationEvent(MegavaniaEventType type, params string[] listeners)
        {
            _eventType = type;
            _listenerNames = listeners;
        }
    }
}
